package com.dyz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dyz.domain.WorkIssue;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dyz.model.Result;

/**
 * <p>
 * 工单记录 服务类
 * </p>
 *
 * @author dyz
 * @since 2025-04-19
 */
public interface IWorkIssueService extends IService<WorkIssue> {
    /**
     * 查询工单列表
     * @param page
     * @param startTime
     * @param endTime
     * @param status
     * @return
     */
    Result<?> getWorkIssueList(Page<WorkIssue> page, String startTime, String endTime, String status);

    /**
     * 回复工单
     * @param workIssue
     * @return
     */
    Result<?> updateAnswer(WorkIssue workIssue);
}
